<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/sgml/loosedtd.html">
<html>
<head>
	<title>Tips and Tricks</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="tips, tricks, examples, samples">
	<meta name="description" content="Get the most out of ControlPlane.">
	<link media="all" rel="stylesheet" href="../css/topicPage.css" />
</head>
<body>
<div id="mainbox">
	<div id="caticon">
		<img class="icon" src="../gfx/icon.png" alt="ControlPlane Icon" />
	</div>
	<div id="pagetitle">
		<h1>Tips and Tricks</h1>
	</div>
	<p>This page gives examples of useful ways that
	ControlPlane can be used, especially via actions.
	</p>

			
	<div summary="How to cause Adium to connect and set your status" class="taskbox">
		<p>
		<strong>To cause Adium to connect and set your status:</strong>
		<ol>
		<li>Use <em>Script Editor</em> to create an AppleScript such as:
<pre>
tell application "Adium"
	activate
	set my status message to "At home."
	set my status type to available
end tell
</pre>
		</li>
		<li>Save it somewhere convenient.</li>
		<li>Create an <em>Open</em> action in ControlPlane, selecting the saved script as its parameter.</li>
		</ol>
		</p>
		<p>
		You may replace <em>available</em> with <em>away</em> to have
		Adium set your status as busy.
		</p>
	</div>

	<div summary="How to launch iTunes and hide its window" class="taskbox">
		<p>
		<strong>To launch iTunes and hide its window:</strong>
		<ol>
		<li>Use <em>Script Editor</em> to create an AppleScript such as:
<pre>
tell application "iTunes"
	launch
	set visible of window 1 to false
end tell
</pre>
		</li>
		<li>Save it somewhere convenient.</li>
		<li>Create an <em>Open</em> action in ControlPlane, selecting the saved script as its parameter.</li>
		</ol>
		</p>
	</div>

	<h2 class="seealso">See also</h2>
	<p class="seealso">
		<a href="actions.html">Setting up ControlPlane's actions</a><br />
	</p>
</div>
</body>
</html>
